/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 80022
 Source Host           : localhost:3306
 Source Schema         : library_system

 Target Server Type    : MySQL
 Target Server Version : 80022
 File Encoding         : 65001

 Date: 26/07/2021 21:06:03
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for sys_books
-- ----------------------------
DROP TABLE IF EXISTS `sys_books`;
CREATE TABLE `sys_books` (
  `id` int NOT NULL AUTO_INCREMENT,
  `book_price` double DEFAULT NULL COMMENT '价格',
  `book_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `book_author` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `book_publisher` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of sys_books
-- ----------------------------
BEGIN;
INSERT INTO `sys_books` VALUES (1, 89, 'java基础', '李四', '电子工业出版社', '2021-05-23 21:58:05');
INSERT INTO `sys_books` VALUES (3, 12, '向左右向右走', '几米', '海豚出版社', '2021-04-27 13:36:11');
INSERT INTO `sys_books` VALUES (4, 20, '时光电影院', '几米', '海豚出版社', '2021-04-27 13:44:35');
INSERT INTO `sys_books` VALUES (5, 40, '谢谢你毛毛兔', '几米', '海豚出版社', '2021-04-27 13:48:20');
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `id` int NOT NULL AUTO_INCREMENT,
  `username` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pwd` varchar(64) DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` VALUES (1, 'admin', 'e10adc3949ba59abbe56e057f20f883e', '2021-04-20 18:55:25');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
